List Builder Detail View PropertiesSynchronization batch size

Description

Defines the batch size for synchronizing data to the server. A batch size of '0' indicates that all edits should be synchronized in a single batch.

Discussion

In an offline application, a user might have been disconnected for a long time. During this time, they may have made a number of local edits on the device. When the connection becomes available, the user may choose to synchronize their edits back to the server. However, because a large number of edits were made, the server might take a while to process the uploaded changes. While the server is processing information, the device waits for a response. If the server takes to long, the client-side device could time out before receiving the response.

In order to avoid this problem, the user's edits can be sent to the server in batches. As each batch is processed, feedback is sent to the client-side device.

The 'Synchronization batch size' defines the number of edits to include in one batch of rows. If the batch size is 0, all edited (i.e. 'dirty') rows in the List are sent simultaneously.

images/batch.png

To learn more, check out the videos below.

Batch Data Synchronization

In a disconnected application, a user may make a large number of edits before they reestablish a connection with the server. When changes are synchronized with the server, the application waits for a response from the server. Synchronizing large amounts of data can take a long time on the server, and the application may time out while waiting for a response. Sending data to the server in batches helps prevent the application from timing out while waiting for synchronization to complete.

Download Component

See Also